package com.wxm.killing.mq.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;

/**
 * 
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-11-05 14:57:57
 */
@Data
@Table(name = "tb_contract_rush_sell")
public class TbContractRushSell implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 编号
    */
	@Id
	private Integer sellId;
   /**
    * 1:申购 2:抢购
    */
	@Column(name = "type")
	private Integer type;
   /**
    * 
    */
	@Column(name = "parent_id")
	private Integer parentId;
   /**
    * 会员编号
    */
	@Column(name = "user_id")
	private Integer userId;
   /**
    * 合约编号
    */
	@Column(name = "contract_id")
	private Integer contractId;
   /**
    * 
    */
	@Column(name = "sn")
	private String sn;
   /**
    * 申购金额
    */
	@Column(name = "number")
	private BigDecimal number;
   /**
    * 
    */
	@Column(name = "number_source")
	private BigDecimal numberSource;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 
    */
	@Column(name = "confirm_time")
	private Date confirmTime;
   /**
    * 
    */
	@Column(name = "cancel_time")
	private Date cancelTime;
   /**
    * 
    */
	@Column(name = "done_time")
	private Date doneTime;
   /**
    * 
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 
    */
	@Column(name = "matching_time")
	private Date matchingTime;
   /**
    * 
    */
	@Column(name = "pay_address")
	private String payAddress;
   /**
    * 0：待审核 1：排队中 2：匹配完成  3：交易完成  -1：取消
    */
	@Column(name = "status")
	private Integer status;
   /**
    * 操作备注
    */
	@Column(name = "content")
	private String content;
   /**
    * 
    */
	@Column(name = "referee_family_ids")
	private String refereeFamilyIds;
   /**
    * 是否被拆单
    */
	@Column(name = "is_split_order")
	private Integer isSplitOrder;
   /**
    * 来源订单编号-申购转出售
    */
	@Column(name = "create_from_order_id")
	private Integer createFromOrderId;
   /**
    * 投诉来源订单编号
    */
	@Column(name = "complaint_form_order_id")
	private Integer complaintFormOrderId;
   /**
    * 是否系统创建
    */
	@Column(name = "is_system_create")
	private Integer isSystemCreate;
}
